/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package atm;

/**
 *
 * @author Jose Gabriel
 */
public class CajeroGrafico extends javax.swing.JFrame {

     /*
     * Atributos
     */
    private int paso;
    private String texto = "";
    
    /**
     * Creates new form CajeroGrafico
     */
    public CajeroGrafico() {
        initComponents();
        
    }

    
    
    /**
     * This method is called from within the constructor to initialize the form.
     * WARNING: Do NOT modify this code. The content of this method is always
     * regenerated by the Form Editor.
     */
    @SuppressWarnings("unchecked")
    // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
    private void initComponents() {

        panelOpciones = new javax.swing.JPanel();
        botonConsulta = new javax.swing.JButton();
        botonRetiro = new javax.swing.JButton();
        botonRetiro1 = new javax.swing.JButton();
        botonCambioClave = new javax.swing.JButton();
        botonSalir = new javax.swing.JButton();
        panelTeclado = new javax.swing.JPanel();
        botonTecla1 = new javax.swing.JButton();
        botonTecla2 = new javax.swing.JButton();
        botonTecla3 = new javax.swing.JButton();
        botonTecla6 = new javax.swing.JButton();
        botonTecla5 = new javax.swing.JButton();
        botonTecla4 = new javax.swing.JButton();
        botonTecla9 = new javax.swing.JButton();
        botonTecla8 = new javax.swing.JButton();
        botonTecla7 = new javax.swing.JButton();
        botonTeclaAdelante = new javax.swing.JButton();
        botonTecla0 = new javax.swing.JButton();
        botonTeclaAtras = new javax.swing.JButton();
        jLabelPaso = new javax.swing.JLabel();
        jLabelCampoEntrada = new javax.swing.JLabel();
        jLabelBanner = new javax.swing.JLabel();

        setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);
        setResizable(false);

        panelOpciones.setBorder(javax.swing.BorderFactory.createBevelBorder(javax.swing.border.BevelBorder.RAISED));

        botonConsulta.setText("Consulta");
        botonConsulta.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                botonConsultaActionPerformed(evt);
            }
        });

        botonRetiro.setText("Retiro");
        botonRetiro.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                botonRetiroActionPerformed(evt);
            }
        });

        botonRetiro1.setText("Deposito");
        botonRetiro1.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                botonRetiro1ActionPerformed(evt);
            }
        });

        botonCambioClave.setText("Cambiar clave");
        botonCambioClave.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                botonCambioClaveActionPerformed(evt);
            }
        });

        botonSalir.setText("Salir");
        botonSalir.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                botonSalirActionPerformed(evt);
            }
        });

        javax.swing.GroupLayout panelOpcionesLayout = new javax.swing.GroupLayout(panelOpciones);
        panelOpciones.setLayout(panelOpcionesLayout);
        panelOpcionesLayout.setHorizontalGroup(
            panelOpcionesLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(panelOpcionesLayout.createSequentialGroup()
                .addContainerGap()
                .addGroup(panelOpcionesLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addComponent(botonSalir, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                    .addComponent(botonConsulta, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                    .addComponent(botonRetiro, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                    .addComponent(botonRetiro1, javax.swing.GroupLayout.Alignment.TRAILING, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                    .addComponent(botonCambioClave, javax.swing.GroupLayout.Alignment.TRAILING, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
                .addContainerGap())
        );
        panelOpcionesLayout.setVerticalGroup(
            panelOpcionesLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(panelOpcionesLayout.createSequentialGroup()
                .addContainerGap()
                .addComponent(botonConsulta)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                .addComponent(botonRetiro)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                .addComponent(botonRetiro1)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                .addComponent(botonCambioClave)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, 8, Short.MAX_VALUE)
                .addComponent(botonSalir)
                .addContainerGap())
        );

        panelTeclado.setBorder(javax.swing.BorderFactory.createBevelBorder(javax.swing.border.BevelBorder.RAISED));

        botonTecla1.setText("1");
        botonTecla1.addMouseListener(new java.awt.event.MouseAdapter() {
            public void mouseClicked(java.awt.event.MouseEvent evt) {
                botonTecla1MouseClicked(evt);
            }
        });

        botonTecla2.setText("2");
        botonTecla2.addMouseListener(new java.awt.event.MouseAdapter() {
            public void mouseClicked(java.awt.event.MouseEvent evt) {
                botonTecla2MouseClicked(evt);
            }
        });

        botonTecla3.setText("3");
        botonTecla3.addMouseListener(new java.awt.event.MouseAdapter() {
            public void mouseClicked(java.awt.event.MouseEvent evt) {
                botonTecla3MouseClicked(evt);
            }
        });

        botonTecla6.setText("6");
        botonTecla6.addMouseListener(new java.awt.event.MouseAdapter() {
            public void mouseClicked(java.awt.event.MouseEvent evt) {
                botonTecla6MouseClicked(evt);
            }
        });

        botonTecla5.setText("5");
        botonTecla5.addMouseListener(new java.awt.event.MouseAdapter() {
            public void mouseClicked(java.awt.event.MouseEvent evt) {
                botonTecla5MouseClicked(evt);
            }
        });

        botonTecla4.setText("4");
        botonTecla4.addMouseListener(new java.awt.event.MouseAdapter() {
            public void mouseClicked(java.awt.event.MouseEvent evt) {
                botonTecla4MouseClicked(evt);
            }
        });

        botonTecla9.setText("9");
        botonTecla9.addMouseListener(new java.awt.event.MouseAdapter() {
            public void mouseClicked(java.awt.event.MouseEvent evt) {
                botonTecla9MouseClicked(evt);
            }
        });

        botonTecla8.setText("8");
        botonTecla8.addMouseListener(new java.awt.event.MouseAdapter() {
            public void mouseClicked(java.awt.event.MouseEvent evt) {
                botonTecla8MouseClicked(evt);
            }
        });

        botonTecla7.setText("7");
        botonTecla7.addMouseListener(new java.awt.event.MouseAdapter() {
            public void mouseClicked(java.awt.event.MouseEvent evt) {
                botonTecla7MouseClicked(evt);
            }
        });

        botonTeclaAdelante.setText(">");
        botonTeclaAdelante.addMouseListener(new java.awt.event.MouseAdapter() {
            public void mouseClicked(java.awt.event.MouseEvent evt) {
                botonTeclaAdelanteMouseClicked(evt);
            }
        });

        botonTecla0.setText("0");
        botonTecla0.addMouseListener(new java.awt.event.MouseAdapter() {
            public void mouseClicked(java.awt.event.MouseEvent evt) {
                botonTecla0MouseClicked(evt);
            }
        });

        botonTeclaAtras.setText("<");
        botonTeclaAtras.addMouseListener(new java.awt.event.MouseAdapter() {
            public void mouseClicked(java.awt.event.MouseEvent evt) {
                botonTeclaAtrasMouseClicked(evt);
            }
        });
        botonTeclaAtras.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                botonTeclaAtrasActionPerformed(evt);
            }
        });

        javax.swing.GroupLayout panelTecladoLayout = new javax.swing.GroupLayout(panelTeclado);
        panelTeclado.setLayout(panelTecladoLayout);
        panelTecladoLayout.setHorizontalGroup(
            panelTecladoLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(panelTecladoLayout.createSequentialGroup()
                .addContainerGap()
                .addGroup(panelTecladoLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING, false)
                    .addGroup(javax.swing.GroupLayout.Alignment.LEADING, panelTecladoLayout.createSequentialGroup()
                        .addComponent(botonTeclaAtras, javax.swing.GroupLayout.PREFERRED_SIZE, 52, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                        .addComponent(botonTecla0, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
                    .addGroup(javax.swing.GroupLayout.Alignment.LEADING, panelTecladoLayout.createSequentialGroup()
                        .addComponent(botonTecla7, javax.swing.GroupLayout.PREFERRED_SIZE, 52, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                        .addComponent(botonTecla8, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
                    .addGroup(javax.swing.GroupLayout.Alignment.LEADING, panelTecladoLayout.createSequentialGroup()
                        .addComponent(botonTecla4, javax.swing.GroupLayout.PREFERRED_SIZE, 52, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                        .addComponent(botonTecla5, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
                    .addGroup(javax.swing.GroupLayout.Alignment.LEADING, panelTecladoLayout.createSequentialGroup()
                        .addComponent(botonTecla1, javax.swing.GroupLayout.PREFERRED_SIZE, 52, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                        .addComponent(botonTecla2, javax.swing.GroupLayout.PREFERRED_SIZE, 52, javax.swing.GroupLayout.PREFERRED_SIZE)))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                .addGroup(panelTecladoLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)
                    .addComponent(botonTecla3, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                    .addComponent(botonTecla6, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                    .addComponent(botonTecla9, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                    .addComponent(botonTeclaAdelante, javax.swing.GroupLayout.DEFAULT_SIZE, 52, Short.MAX_VALUE))
                .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
        );
        panelTecladoLayout.setVerticalGroup(
            panelTecladoLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(panelTecladoLayout.createSequentialGroup()
                .addGap(12, 12, 12)
                .addGroup(panelTecladoLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(botonTecla1, javax.swing.GroupLayout.PREFERRED_SIZE, 28, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(botonTecla2, javax.swing.GroupLayout.PREFERRED_SIZE, 28, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(botonTecla3, javax.swing.GroupLayout.PREFERRED_SIZE, 30, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(panelTecladoLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)
                    .addComponent(botonTecla5, javax.swing.GroupLayout.DEFAULT_SIZE, 31, Short.MAX_VALUE)
                    .addComponent(botonTecla4, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                    .addComponent(botonTecla6, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(panelTecladoLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)
                    .addComponent(botonTecla8, javax.swing.GroupLayout.DEFAULT_SIZE, 31, Short.MAX_VALUE)
                    .addComponent(botonTecla7, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                    .addComponent(botonTecla9, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(panelTecladoLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)
                    .addComponent(botonTecla0, javax.swing.GroupLayout.DEFAULT_SIZE, 31, Short.MAX_VALUE)
                    .addComponent(botonTeclaAtras, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                    .addComponent(botonTeclaAdelante, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
                .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
        );

        jLabelPaso.setFont(new java.awt.Font("Tahoma", 0, 12)); // NOI18N
        jLabelPaso.setText("Ingrese su cuenta:");

        jLabelCampoEntrada.setFont(new java.awt.Font("Tahoma", 0, 12)); // NOI18N

        jLabelBanner.setFont(new java.awt.Font("Tahoma", 1, 13)); // NOI18N
        jLabelBanner.setText("Bienvenido al servicio de cajeros de ");

        javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane());
        getContentPane().setLayout(layout);
        layout.setHorizontalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(layout.createSequentialGroup()
                .addContainerGap()
                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addComponent(jLabelPaso, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                    .addComponent(jLabelCampoEntrada, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                    .addComponent(jLabelBanner, javax.swing.GroupLayout.DEFAULT_SIZE, 332, Short.MAX_VALUE))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(panelOpciones, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addContainerGap())
            .addGroup(layout.createSequentialGroup()
                .addGap(101, 101, 101)
                .addComponent(panelTeclado, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
        );
        layout.setVerticalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(layout.createSequentialGroup()
                .addContainerGap()
                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addComponent(panelOpciones, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addGroup(layout.createSequentialGroup()
                        .addComponent(jLabelBanner, javax.swing.GroupLayout.PREFERRED_SIZE, 43, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addGap(18, 18, 18)
                        .addComponent(jLabelPaso, javax.swing.GroupLayout.PREFERRED_SIZE, 38, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(jLabelCampoEntrada, javax.swing.GroupLayout.PREFERRED_SIZE, 38, javax.swing.GroupLayout.PREFERRED_SIZE)))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, 61, Short.MAX_VALUE)
                .addComponent(panelTeclado, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addContainerGap())
        );

        pack();
    }// </editor-fold>//GEN-END:initComponents

    private void botonSalirActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_botonSalirActionPerformed
        System.exit(0);
    }//GEN-LAST:event_botonSalirActionPerformed

    private void botonConsultaActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_botonConsultaActionPerformed
        // TODO add your handling code here:
    }//GEN-LAST:event_botonConsultaActionPerformed

    private void botonRetiroActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_botonRetiroActionPerformed
        // TODO add your handling code here:
    }//GEN-LAST:event_botonRetiroActionPerformed

    private void botonRetiro1ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_botonRetiro1ActionPerformed
        // TODO add your handling code here:
    }//GEN-LAST:event_botonRetiro1ActionPerformed

    private void botonCambioClaveActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_botonCambioClaveActionPerformed
        // TODO add your handling code here:
    }//GEN-LAST:event_botonCambioClaveActionPerformed

    private void botonTeclaAtrasActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_botonTeclaAtrasActionPerformed
        // TODO add your handling code here:
    }//GEN-LAST:event_botonTeclaAtrasActionPerformed

    private void botonTecla1MouseClicked(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_botonTecla1MouseClicked
        jLabelCampoEntrada.setText(jLabelCampoEntrada.getText()+1);
    }//GEN-LAST:event_botonTecla1MouseClicked

    private void botonTecla2MouseClicked(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_botonTecla2MouseClicked
        jLabelCampoEntrada.setText(jLabelCampoEntrada.getText()+2);
    }//GEN-LAST:event_botonTecla2MouseClicked

    private void botonTecla3MouseClicked(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_botonTecla3MouseClicked
        jLabelCampoEntrada.setText(jLabelCampoEntrada.getText()+3);
    }//GEN-LAST:event_botonTecla3MouseClicked

    private void botonTecla4MouseClicked(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_botonTecla4MouseClicked
        jLabelCampoEntrada.setText(jLabelCampoEntrada.getText()+4);
    }//GEN-LAST:event_botonTecla4MouseClicked

    private void botonTecla5MouseClicked(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_botonTecla5MouseClicked
        jLabelCampoEntrada.setText(jLabelCampoEntrada.getText()+5);
    }//GEN-LAST:event_botonTecla5MouseClicked

    private void botonTecla6MouseClicked(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_botonTecla6MouseClicked
        jLabelCampoEntrada.setText(jLabelCampoEntrada.getText()+6);
    }//GEN-LAST:event_botonTecla6MouseClicked

    private void botonTecla7MouseClicked(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_botonTecla7MouseClicked
        jLabelCampoEntrada.setText(jLabelCampoEntrada.getText()+7);
    }//GEN-LAST:event_botonTecla7MouseClicked

    private void botonTecla8MouseClicked(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_botonTecla8MouseClicked
        jLabelCampoEntrada.setText(jLabelCampoEntrada.getText()+8);
    }//GEN-LAST:event_botonTecla8MouseClicked

    private void botonTecla9MouseClicked(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_botonTecla9MouseClicked
        jLabelCampoEntrada.setText(jLabelCampoEntrada.getText()+9);
    }//GEN-LAST:event_botonTecla9MouseClicked

    private void botonTeclaAtrasMouseClicked(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_botonTeclaAtrasMouseClicked
        jLabelCampoEntrada.setText(jLabelCampoEntrada.getText().substring(0, jLabelCampoEntrada.getText().length()-1));
    }//GEN-LAST:event_botonTeclaAtrasMouseClicked

    private void botonTeclaAdelanteMouseClicked(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_botonTeclaAdelanteMouseClicked
        this.texto=jLabelCampoEntrada.getText();
        jLabelCampoEntrada.setText("");
    }//GEN-LAST:event_botonTeclaAdelanteMouseClicked

    private void botonTecla0MouseClicked(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_botonTecla0MouseClicked
        jLabelCampoEntrada.setText(jLabelCampoEntrada.getText()+0);
    }//GEN-LAST:event_botonTecla0MouseClicked
 
    
    public void IniciarGraficos(String nombreBanco){
        jLabelBanner.setText(jLabelBanner.getText()+" "+nombreBanco);
        panelOpciones.setVisible(false);
        
    }
    
    public void operacionEnPantalla(int paso){
        
        
    }
    
    /**
     * @param args the command line arguments
     */
    public static void main(String args[]) {
        /* Set the Nimbus look and feel */
        //<editor-fold defaultstate="collapsed" desc=" Look and feel setting code (optional) ">
        /* If Nimbus (introduced in Java SE 6) is not available, stay with the default look and feel.
         * For details see http://download.oracle.com/javase/tutorial/uiswing/lookandfeel/plaf.html 
         */
        try {
            for (javax.swing.UIManager.LookAndFeelInfo info : javax.swing.UIManager.getInstalledLookAndFeels()) {
                if ("Nimbus".equals(info.getName())) {
                    javax.swing.UIManager.setLookAndFeel(info.getClassName());
                    break;
                }
            }
        } catch (ClassNotFoundException ex) {
            java.util.logging.Logger.getLogger(CajeroGrafico.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
        } catch (InstantiationException ex) {
            java.util.logging.Logger.getLogger(CajeroGrafico.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
        } catch (IllegalAccessException ex) {
            java.util.logging.Logger.getLogger(CajeroGrafico.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
        } catch (javax.swing.UnsupportedLookAndFeelException ex) {
            java.util.logging.Logger.getLogger(CajeroGrafico.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
        }
        //</editor-fold>

        /* Create and display the form */
        java.awt.EventQueue.invokeLater(new Runnable() {
            public void run() {
                new CajeroGrafico().setVisible(true);
            }
        });
    }
    // Variables declaration - do not modify//GEN-BEGIN:variables
    private javax.swing.JButton botonCambioClave;
    private javax.swing.JButton botonConsulta;
    private javax.swing.JButton botonRetiro;
    private javax.swing.JButton botonRetiro1;
    private javax.swing.JButton botonSalir;
    private javax.swing.JButton botonTecla0;
    private javax.swing.JButton botonTecla1;
    private javax.swing.JButton botonTecla2;
    private javax.swing.JButton botonTecla3;
    private javax.swing.JButton botonTecla4;
    private javax.swing.JButton botonTecla5;
    private javax.swing.JButton botonTecla6;
    private javax.swing.JButton botonTecla7;
    private javax.swing.JButton botonTecla8;
    private javax.swing.JButton botonTecla9;
    private javax.swing.JButton botonTeclaAdelante;
    private javax.swing.JButton botonTeclaAtras;
    private javax.swing.JLabel jLabelBanner;
    private javax.swing.JLabel jLabelCampoEntrada;
    private javax.swing.JLabel jLabelPaso;
    private javax.swing.JPanel panelOpciones;
    private javax.swing.JPanel panelTeclado;
    // End of variables declaration//GEN-END:variables
}
